<script id="headerTemplate" type="text/template">
    <div class="layui-logo">
        <span style="font-size: 22px;color: #fff">{{d.project.name}}</span>
        <small class="version">{{d.branch.name}}</small>
        <small class="version">{{d.env.name}}</small>
    </div>
    <ul class="layui-nav layui-layout-left">
        <li class="layui-nav-item1 ">
            <select class="g-select" oninput="switchMenu(this)">
                {{# $.each(d.menuList,(i,menu)=>{ }}
                {{# let conf = projectConfigData.find(i=> i.menuName == menu.menuName)||{} }}
                <option value="{{menu.id}}" {{ menu.id == d.currHeaderMenuId?'selected':'' }}>
                    {{conf.name||menu.menuName}}
                </option>
                {{# }) }}
            </select>
        </li>
        <li class="layui-nav-item1 layui-form component">
            <input id="menu-filter" class="layui-input " oninput="menuFilter(this)" placeholder="筛选菜单"/>
        </li>
    </ul>
</script>